<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>编辑类型</title>
		<meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">
	    <!-- Loading Bootstrap -->
	    <link href="./Public/Admin/Flat/dist/css/vendor/bootstrap.min.css" rel="stylesheet">
	    <!-- Loading Flat UI -->
	    <link href="./Public/Admin/Flat/dist/css/flat-ui.css" rel="stylesheet">
	    <link href="./Public/Admin/Flat/docs/assets/css/demo.css" rel="stylesheet">
	    <link rel="shortcut icon" href="./Public/Admin/Flat/img/favicon.ico">
	    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	    <!--[if lt IE 9]>
	      <script src="dist/js/vendor/html5shiv.js"></script>
	      <script src="dist/js/vendor/respond.min.js"></script>
	    <![endif]-->
	</head>
	<body>
		<form action="" method="post" style="width: 500px;margin: 100px auto;">
			<div class="alert alert-success" style="text-align: center;">编辑类型</div>
			<div class="form-group">
				<textarea name="tname" rows="5" cols=""  class="form-control" placeholder="{{$typeData['tname']}}"></textarea>
			</div>
			<!--给一个隐藏域，当提交时把要编辑的类型ID用post传过去-->
			<input type="hidden" name="tid" value="{{$_GET['tid']}}"/>
			<button class="btn btn-primary btn-block" type="submit">确认修改</button>
		</form>
		<a href="{{U('Type/index',array('tid'=>$_GET['tid']))}}" style="position: absolute;bottom: 50px;right: 50px;width: 50px;" class="btn btn-primary btn-block">返回上一层</a>
	</body>
</html>
